home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / pnt.z / pnt
Encoding:
Text File  |  1998-10-20  |  3.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ppppnnnntttt((((3333GGGG))))                                                                ppppnnnntttt((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ppppnnnntttt,,,, ppppnnnnttttiiii,,,, ppppnnnnttttssss,,,, ppppnnnntttt2222,,,, ppppnnnntttt2222iiii,,,, ppppnnnntttt2222ssss - draws a point
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd ppppnnnntttt((((xxxx,,,, yyyy,,,, zzzz))))
  13.      CCCCoooooooorrrrdddd xxxx,,,, yyyy,,,, zzzz;;;;
  14.  
  15.      vvvvooooiiiidddd ppppnnnnttttiiii((((xxxx,,,, yyyy,,,, zzzz))))
  16.      IIIIccccoooooooorrrrdddd xxxx,,,, yyyy,,,, zzzz;;;;
  17.  
  18.      vvvvooooiiiidddd ppppnnnnttttssss((((xxxx,,,, yyyy,,,, zzzz))))
  19.      SSSSccccoooooooorrrrdddd xxxx,,,, yyyy,,,, zzzz;;;;
  20.  
  21.      vvvvooooiiiidddd ppppnnnntttt2222((((xxxx,,,, yyyy))))
  22.      CCCCoooooooorrrrdddd xxxx,,,, yyyy;;;;
  23.  
  24.      vvvvooooiiiidddd ppppnnnntttt2222iiii((((xxxx,,,, yyyy))))
  25.      IIIIccccoooooooorrrrdddd xxxx,,,, yyyy;;;;
  26.  
  27.      vvvvooooiiiidddd ppppnnnntttt2222ssss((((xxxx,,,, yyyy))))
  28.      SSSSccccoooooooorrrrdddd xxxx,,,, yyyy;;;;
  29.  
  30.      All of the above routines are functionally the same.  They differ only in
  31.      the type declarations of their parameters and in whether or not they
  32.      assume a two-dimensional or three-dimensional space.
  33.  
  34. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  35.      _x   expects the x coordinate of the point to be drawn.
  36.  
  37.      _y   expects the y coordinate of the point to be drawn.
  38.  
  39.      _z   expects the z coordinate of the point to be drawn.
  40.  
  41. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  42.      ppppnnnntttt colors a point in world coordinates.  If the point is visible in the
  43.      current viewport, it is shown as one pixel.  The pixel is drawn in the
  44.      current color (if in depth-cue mode, the depth-cued color is used) using
  45.      the current writemask.  ppppnnnntttt updates the current graphics position after
  46.      it executes.  A drawing routine immediately following ppppnnnntttt will start
  47.      drawing from the point specified.
  48.  
  49. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  50.      bgnpoint, endpoint, v
  51.  
  52. NNNNOOOOTTTTEEEE
  53.      ppppnnnntttt should not be used in new development.  Rather, points should be
  54.      drawn using the high-performance vvvv commands, surrounded by calls to
  55.      bbbbggggnnnnppppooooiiiinnnntttt and eeeennnnddddppppooooiiiinnnntttt.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.